<div class="layui-form-item">
    <div class="layui-input-block" data-bind="foreach: buttonArray">
        <div data-bind="baseButton: $data"></div>
    </div>
</div>